import "package:ct_pa_majordomo/config/theme_vars.dart";
import "package:ct_pa_majordomo/pages/widgets/menu_block.dart";
import "package:ct_pa_majordomo/router/keys.dart";
import "package:ct_pa_majordomo/utils/stacker.dart";
import "package:ct_pa_majordomo/widgets/normal_scaffold/index.dart";
import 'package:flutter/material.dart';

class LockSetting extends StatefulWidget {
  const LockSetting({Key? key}) : super(key: key);

  @override
  State<LockSetting> createState() => _LockSettingState();
}

class _LockSettingState extends State<LockSetting> {
  @override
  Widget build(BuildContext context) {
    return NormalScaffold(
      title: "门锁设置",
      child: Container(
        padding: const EdgeInsets.all(ThemeVars.paddingPage),
        child: Column(
          children: [
            MenuBlock(
              title: const Text("门锁设置"),
              items: [
                MenuBlockItem(
                    text: "未开门提醒",
                    onTap: () {
                      Stacker.pushNamed(Keys.APARTMENT_REMINDER_NOT_OPEN_DOOR);
                    }
                )
              ],
            )
          ],
        ),
      )
    );
  }
}
